import { get, post, formData } from "@/api/services/formReq";

// RISK列表数据
export const riskLists = params => post("/v1/risk/list", params);

// // RISK创建、修改
// export const riskCreate = (Id,params) => post(`/v1/risk/create?Id=${Id}`, params);

// RISK删除
export const riskDelete = params => post("/v1/risk/delete", params);

// RISK读取
export const riskDetail = params => post("/v1/risk/detail", params);

// RISK审批退回
export const riskRollback = params => post("", params);

// RISK关闭结果
export const riskClose = params => post("", params);

// RISK统计数据
export const riskCount = params => post("/v1/risk/statistical", params);
//RISK创建action
export const ristCreateAction = params => post("/v1/risk/action/createAction", params)
//RISK 删除action
export const ristDelAction = (params) => post("/v1/risk/action/deleteAction", params)

//RISKAction备注删除
export const ristDelActionRemark = params => post("/v1/risk/action/info/Delete", params)
//RISKActionList RiskAction列表
export const RISKActionList = params => post("/v1/risk/action/list", params)
//RISKAction actionTableb编辑
export const RISKEditActionList = params => post("/v1/risk/action/actionDetail", params)
// Risk文件上传
export const RiskFileUpload = params => post("/v1/risk/upload", params)
//Risk列表选择上传
export const RiskListSelect = params => post("/v1/risk/action/create", params)
//备注列表
export const dpiaRemarkLists = params => post("/v1/risk/action/info/List", params);
// risk审阅退回
export const riskBackOff = params => post("/v1/risk/dco/return/create", params);
// risk审阅退回列表查询
export const riskBackOffList = params => post("/v1/risk/dco/return/list", params);
//risk的筛选
export const rISKGroup = params => post("/v1/risk/group", params);
// 删除risk文件上传
export const delRiskFile = params => post("/v1/risk/deleteFile", params);
// task筛选
export const taskSelect = params => post('v1/task/group', params)